<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html
    PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    
<html xmlns="http://www.w3.org/1999/xhtml" 
    xml:lang="en" lang="en" 
    xmlns:nevow="http://nevow.com/ns/nevow/0.1" 
    nevow:render="starttimer">

    <head>
        <title>Prairie Wiki</title>
        <style type="text/css">@import url('/styles/site.css');</style>
        <style type="text/css">@import url('/webform_css');</style>
    </head>

    <body>
                
        <!-- /main -->
        <div id="main">
        
        <div id="header">
        </div>
        
        <div id="sidebar"> 
            <ul id="nav">        
                <li><a id="a_home" href="/">Home</a></li>
                <li nevow:render="insert"><a href="#">
                        <nevow:attr name="href"><nevow:slot name="insert" /></nevow:attr>
                        Insert a new entry
                    </a>
                </li>
                <li>Wiki Pages</li>
                <span nevow:data="getExistingWikiPages" nevow:render="sequence">
                    <span nevow:pattern="item" nevow:render="mapping">
                    <a><nevow:attr name="href"><nevow:slot name="url" /></nevow:attr><nevow:slot name="text">link</nevow:slot></a>
                    </span>
                </span>
                <br />
                <br />

                <li>Categories</li>
                <!-- This should list wiki words that don't have pages
                but should link to the parent of the wiki word, so that 
                the parent off of which the wiki page is created is 
                recorded /-->
                <span nevow:data="getCategories" nevow:render="sequence">
                    <span nevow:pattern="item" nevow:render="mapping">
                    <a><nevow:attr name="href"><nevow:slot name="url" /></nevow:attr><nevow:slot name="text">link</nevow:slot></a>
                    </span>
                </span>
                <br />
                <br />

                <li>Pending Pages</li>
                <!-- This should list wiki words that don't have pages
                but should link to the parent of the wiki word, so that 
                the parent off of which the wiki page is created is 
                recorded /-->
                <span nevow:data="getPendingWikiPages" nevow:render="sequence">
                    <span nevow:pattern="item" nevow:render="mapping">
                    <a><nevow:attr name="href"><nevow:slot name="url" /></nevow:attr><nevow:slot name="text">link</nevow:slot></a>
                    </span>
                </span>
                <br />
                <br />
            </ul>
        </div>

        <!-- /content -->
        <div id="content">        
        <h2>By Category</h2>
        <ul nevow:data="getEntries" nevow:render="sequence">
   
            <li nevow:pattern="item" nevow:render="entries">
                <a href="#">
                    <nevow:attr name="href"><nevow:slot name="permaLink" /></nevow:attr>
                    <nevow:slot name="title"></nevow:slot>
                </a>
                &bull;
                <nevow:invisible nevow:render="editer">
                <a href="#">
                <nevow:attr name="href"><nevow:slot name="editPost" /></nevow:attr>
                Edit
                </a>
                </nevow:invisible>
                &bull;
                Posted by <nevow:slot name="author"></nevow:slot> on <nevow:slot name="modification" />
            </li>
                    
        </ul>
        </div>
        
        
        <div id="footer">
            <div class="left">
                <span class="top">&copy; 2006
                <a href="http://adytum.us">AdytumSolutions, Inc.</a></span><br />
                <span class="bottom">powered by
                <a href="http://twistedmatrix.com/">Twisted</a>

                </span>
            </div>
            <div class="right">
                <span class="top">PO Box 2401, Loveland, CO</span><br />
                <span class="bottom">
                <a href="mailto:info@adytum.us?Subject=What+can+you+do+for+me?">info@adytum.us</a>
                </span>
            </div>

        </div>
        </div>
    </body>
</html>

